The history command lists all the previous command lines, along with a number. History lines can be called using the !string construction or the !number. History is only available in interactive mode. See Appendix A for more details.
history
append history, line editing